package cc.dowell.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cc.dowell.pojo.Zone;
import cc.dowell.vo.ZoneVo;
import org.springframework.stereotype.Service;

@Service
public interface ZoneService extends IService<Zone> {

    Boolean addZone(Zone zone);

    Boolean deleteZone(Long id);

    Boolean updateZone(Zone zone);

    ZoneVo zoneInfo(Long id);

    IPage<ZoneVo> selectZonePage(Page<Zone> zonePage);
}
